package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author tyhxzy
 * @since 2023-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("signin")
public class Ignin implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 注册表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 手机号
     */
    @Size(max = 11,min = 11,message = "手机号不正确")
    private String phone;

    /**
     * 姓名
     */
    private String name;

    /**
     * 身份证
     */
    private String identity;

    /**
     * 逻辑删除
     */
    private Integer deleted;

    private String kz1;

    private String kz2;

    private String kz3;


}
